import type { FC } from 'react';
import { View } from 'react-native';
import ProImage from '../ProImage';
import { SCREEN_WIDTH, SCREEN_HEIGHT } from '@/utils/resize';

type GalleryImageProps = {
  url: string;
}

const GalleryImage: FC<GalleryImageProps> = (porps) => {
  return (
    <ProImage
      source={{ uri: porps.url }}
      contentFit="contain"
      style={{
        width: SCREEN_WIDTH,
        height: SCREEN_HEIGHT
      }}
    />
  )
}

export default GalleryImage;